﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WaiShop.Model;

namespace WaiShop.BLL.Service
{
    public class UserInfoService : IUserInfoService
    {

        private IUserInfoRepositoty userInfoRepositoty;

        public UserInfoService(IUserInfoRepositoty userInfoRepositoty)
        {
            this.userInfoRepositoty = userInfoRepositoty;
        }

        public UserInfo GetUserInfo(string username,string pwd)
        {
            return userInfoRepositoty.GetUserInfo(username,pwd);
        }
    }
}
